﻿@namespace BlazorComponent
@inherits BDomComponentBase

<div class="@CssProvider.GetClass()" style="@CssProvider.GetStyle()" id="@Id" @ref="Ref">
    @for (var i = 0; i < @Length; i++)
    {
        var index = i;
        @RenderPart(typeof(BOtpInputSlot<>), builder => {
            builder.Add("Index", index);
            builder.Add("Value", Values[index]);
        })
    }
</div>
